﻿namespace SXICE.Repository
{
    /// <summary>
    /// 仓储错误
    /// </summary>
    public enum RepositoryErrors
    {
        /// <summary>
        /// 客户不存在
        /// </summary>
        CUSTOMER_NOT_EXISTS = 501,
        /// <summary>
        /// 机构不存在
        /// </summary>
        ORGANIZATION_NOT_EXISTS = 502,
        /// <summary>
        /// 没有要修改的体检项目
        /// </summary>
        NO_EXAM_ITEMS_UPDATE = 503,
        /// <summary>
        /// 没有答题记录
        /// </summary>
        NO_HDAARM_RECROD = 504,
        /// <summary>
        /// 没有体检记录
        /// </summary>
        NO_EXAM_RECORDS = 505,
        /// <summary>
        /// 任务调度保存失败
        /// </summary>
        SHCEDULER_SAVE_FAILED = 506,
        /// <summary>
        /// 订单不存在
        /// </summary>
        ORDER_NOT_EXISTS = 507,
        /// <summary>
        /// 机构体检任务不存在
        /// </summary>
        ORGANIZATION_SCHEDULER_NOT_EXISTS = 508,
        /// <summary>
        /// 订单插入失败
        /// </summary>
        ORDER_LIST_INSERT_FAILED = 509,
        /// <summary>
        /// 体检项目插入失败
        /// </summary>
        EXAM_ITEMS_INSERT_FAILED = 510,
        /// <summary>
        /// 联系人删除失败
        /// </summary>
        CONTACTS_DELETE_FAILED = 511,
        /// <summary>
        /// 心理记录插入失败
        /// </summary>
        HDRECORDS_INSERT_FAILED = 512,
        /// <summary>
        /// 没有心理记录
        /// </summary>
        NO_PH_RECORD = 513,
        /// <summary>
        /// 发票不存在
        /// </summary>
        RECEIPT_NOT_EXISTS = 514,
        /// <summary>
        /// 发票申请失败
        /// </summary>
        RECEIPT_APPLY_FAILED = 515,
        /// <summary>
        /// 心脑血管记录获取失败
        /// </summary>
        VA_RECORD_GET_FAILED = 516,
        /// <summary>
        /// 没有宫颈癌记录
        /// </summary>
        NO_CC_RECORDS = 517,
        /// <summary>
        /// 没有宫颈癌选项
        /// </summary>
        NO_CC_SELECTIONS = 518,
        /// <summary>
        /// 没有乳腺癌记录
        /// </summary>
        NO_BC_RECORDS = 519,
        /// <summary>
        /// 没有乳腺癌选项
        /// </summary>
        NO_BC_SELECTIONS = 520,
        /// <summary>
        /// 医生不存在
        /// </summary>
        NO_DOCTOR = 521,
        /// <summary>
        /// 没有PA选项
        /// </summary>
        NO_PA_SELECTIONS = 522,
        /// <summary>
        /// 重复项
        /// </summary>
        NO_REPETITION = 523,
        /// <summary>
        /// 没有糖尿病记录
        /// </summary>
        NO_T2DM_RECORD = 524,
        /// <summary>
        /// 没有更新信息
        /// </summary>
        NO_UPDATE_INFO = 525,
        /// <summary>
        /// 角色添加失败
        /// </summary>
        ROLE_ADD_FAILED = 526,
        /// <summary>
        /// 角色删除失败
        /// </summary>
        ROLE_DELETE_FAILED = 527,
        /// <summary>
        /// 角色修改失败
        /// </summary>
        ROLE_UPDATE_FAILED = 528,
        /// <summary>
        /// 角色已存在
        /// </summary>
        ROLE_IS_EXISTED = 529,
        /// <summary>
        /// 角色不存在
        /// </summary>
        ROLE_IS_NOT_EXISTED = 530,
        /// <summary>
        /// 没权限
        /// </summary>
        NO_RIGHTS = 531,
        /// <summary>
        /// 医生不可用
        /// </summary>
        DOCTOR_DISABLED = 532,
        /// <summary>
        /// 医嘱更新失败
        /// </summary>
        ADVICE_UPDATE_FAILED = 533,
        /// <summary>
        /// 更新信息保存失败
        /// </summary>
        UPDATE_SAVE_FAILED = 534,
        /// <summary>
        /// 没有处方客户
        /// </summary>
        NO_PRESCRIPTION_CUSTOMER = 535,
        /// <summary>
        /// 处方客户已存在
        /// </summary>
        PRESCRIPTION_CUSTOMER_EXISTED = 536,
        /// <summary>
        /// 处方客户状态修改失败
        /// </summary>
        PRESCRIPTION_CUSTOMER_STATE_CHANGE_FAILED = 537
    }
}